package com.sinog.alarm.controller;

import com.sinog.alarm.service.ZoningService;
import com.sinog.alarm.util.Constants;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @desc 行政区划合并 ZoneMergeController
 * @author wangxj
 * @date 2022-11-01 12:41
 */
@RestController
public class ZoneMergeController {

    @Autowired
    private ZoningService zoningServiceImpl;

    /**
     * 描述
     */
    @GetMapping("/zone")
    public String zoningConsolidation() {
        zoningServiceImpl.zoningConsolidation();
        return Constants.ZHCN.CLCG;
    }
}